#ifndef MAIN_FORM_H
#define MAIN_FORM_H


#include <QWidget>


class QListWidgetItem;


namespace Ui
{
    class MainForm;
}


namespace BitWin
{
    class Model;
}


class MainForm: public QWidget
{
    Q_OBJECT

    Ui::MainForm* _ui;
    BitWin::Model* _model;

    void addNewItemToList(const QString& data=QString());
    void commitData();

private slots:

    void commitFormat();
    void dataChanged(QListWidgetItem* item);

public:

    MainForm(QWidget* parent=0);
    ~MainForm();
};


#endif
